<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台控制面板首页</title>
		<meta http-equiv="pragma" content="no-cache"/>
		<meta http-equiv="cache-control" content="no-cache"/>
		<meta http-equiv="expires" content="0"/>
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
		<link rel="stylesheet" type="text/css" href="../style/style.css" />
		<link type="text/css" rel="stylesheet" href="../style/datepicker.css"/>
		<script type="text/javascript" src="../js/jquery-1.4.2.min.js"></script>
		<script type="text/javascript" src="../js/datepicker.js"></script>
		<script type="text/javascript" src="../pubSentiment/js/pubsent.js"></script>
</head>
<body class="indexbody">
<div id="Content">
  <div style="width:100%; ">
  <div urlvalue="Oasp2803" functionid="FUNC00004" urlname="公告" recordcount="5" minflg="0" class="DesktopBlock" id="FUNC00004">
  <div id="Block">
          <div id="BlockHead">
            <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
              <tbody>
                <tr valign="center">
                  <td width="5"></td>
                  <td>任务管理</td> 
                  <td width="22"></td>
                </tr>
              </tbody>
            </table>
          </div>
          <div class="right_con">
                	<ul class="rig_nav">
                    	<li><a href="../job/dailyJob_loadAddJob.action">提交任务</a></li>
                        <li class="rig_nav_on"><a href="../job/dailyJob_submited.action">已提交任务</a></li>
                    </ul>
          <div class="right_con">
         <form name = "pubsentList" id = "pubsentList" action="dailyJob_lookByOption.action"  method="post">
                	<ul class="tablerow3" style="height:50px;">
 		<input type="hidden" name="" value="0" />
 		<table width="100%" border="0" cellspacing="0" cellpadding="0">
 		<tr>
    <td height="34" colspan="6" align="center" valign="middle"  style="height:34px;background-image:url(../gif/bgd.png)"><span class="STYLE109">
      查询时间段：
        <input  id="startDate" name="startDate" type="text" value="${startDate?default('')}"  size="15" readonly="true" style="height:18px;" class="ipticon" />
      -
      <input id="endDate" name="endDate" type="text" value="${endDate?default('')}"  readonly="true" style="height:18px;" class="ipticon" size="15" />
        查询类型：
            <label>
      <select name="queryType" id="queryType">
        <!--
        <option value="2">按标题</option>
        <option value="3" <%{%>selected<%}%>>按编号</option>
        <option value="4">提交部门</option>
        -->
         <!---下拉框处理 begin-->
         		<option value="0">请选择查询条件 </option>
				<option value="job_name" <#if queryType?default("")=="job_name">selected</#if>>任务名 </option>
				<option value="staff_name" <#if queryType?default("")=="staff_name">selected</#if>>提交人</option>
				<option value="organization_name" <#if queryType?default("")=="organization_name">selected</#if>>提交部门 </option>
 <!---下拉框处理 end-->
      </select>
      </label>
&nbsp;&nbsp;查询条件：
<input name="queryData" id="queryData" style="height:18px;" value="${queryData?default('')}" type="text" size="12" />
      </span><span class="STYLE109">
      <label> &nbsp;
      <input name="Submit" type="submit" value="开始查询" src="../images/sosuo.gif"  width="26" height="25"/>
      </label>
      </span></td>
    </tr>
		</table>
                    </ul>
          <div id="BlockDetail">
				<table border="0" cellpadding="1" cellspacing="1" width="100%" bgcolor="#dddedb">
						<tbody>
									<tr>
							    <td align="center" bgcolor="#EAEAEA" width="10%">任务编号</td>
							    <td height="30" align="center" bgcolor="#EAEAEA">任务标题</td>
							     <td align="center" bgcolor="#EAEAEA" width="9%">任务类别</td>
							    <td align="center" bgcolor="#EAEAEA" width="9%">提交部门</td>
							    <td align="center" bgcolor="#EAEAEA" width="15%">提交时间</td>
							    <td width="13%" height="30" align="center" bgcolor="#EAEAEA">操作</td>
								</tr>
				   <!--内容展示-->
				   <#list jobList?if_exists as job>
							<tr>
				    <td class="STYLE10" align="center" bgcolor="#FFFFFF" height="25">
				    ${job.JOB_ID?default(0)}
				    </td>
				    <td height="25" bgcolor="#FFFFFF" class="STYLE10" style="padding-left:5px;">
						<a href="../job/dailyJob_sendedJob.action?jobId=${job.JOB_ID?default(0)}">
                       	 ${job.JOB_NAME?default('')}</a>
						<!--<a href="k-yuqing.html">女海南</a>-->
						</td>
				    
				    <td class="STYLE10" align="center" bgcolor="#FFFFFF" height="25">
				    <#if job.JOB_TYPE==1>汇报</#if>
				    <#if job.JOB_TYPE==2>总结</#if>
				    <#if job.JOB_TYPE==3>申请</#if>
				    	</td>
				    <td class="STYLE10" align="center" bgcolor="#FFFFFF" height="25">${job.organization_name?default('')}</td>
				    <td class="STYLE10" align="center" bgcolor="#FFFFFF" height="25">
				    	${job.CREATE_TIME?datetime?string("yyyy-MM-dd HH:mm:ss")}
				    	</td>
				    <td class="STYLE10" align="center" bgcolor="#FFFFFF" height="25">
				          <a href="../job/dailyJob_sendedJob.action?jobId=${job.JOB_ID?default(0)}" >查看</a></td>
				    </tr>
				    </#list>
						</tbody>
			</table>													
    	<div id="BlockFoot">
     <div class="left"><span class="STYLE10">第<span class="h2-red">${page?default(0)}</span>页/共<span class="h2-red">${intPageCount?default(0)}</span>页,总计<span class="h2-red">${intRowCount?default(0)}</span>条记录</span></div>
						<div class="right"><span class="STYLE10"> 
<#if page gt 1 > [<a href="dailyJob_turnPage.action?page=1">首页</a>]<#else> [首页]</#if> 
<#if page gt 1 >[<a href="dailyJob_turnPage.action?page=${page-1}">上一页</a>]<#else>[上一页]</#if>
<#if page lt intPageCount >[<a href="dailyJob_turnPage.action?page=${page+1}">下一页</a>] <#else>[下一页]</#if>
<#if page lt intPageCount >[<a href="dailyJob_turnPage.action?page=${intPageCount}">尾页</a>] <#else>[尾页]</#if>
转向<select id="page" name="page" onChange="document.pubsentList.submit();;">
      <#assign p=intPageCount>
      <#if p==0>
      <option value='0' selected>1</option>
      <#else>
      <#list 1..p as j>
      <option value="${j}"<#if page==j>selected</#if>>${j}</option>
      </#list>
      </#if></select> 页 </span></div>
      </div>
        </div>
      </form>
        </div>
          </div>
          </div>
          </div>
          </div>
   </div>
<!--日历js-->
<script type="text/javascript" src="../js/mgtool.js"></script>
<script type="text/javascript" src="../js/DatePicker.js"></script>
<script type="text/javascript" src="../js/h_query_2012.js"></script>
</body>
</html>

